home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / soft / development / Macromedia RoboHelp X5 / RoboHelpOffice.exe / Data1.cab / _5596AF757E8548DBA5A94A281B8BA3FB < prev    next >
Encoding:
Text File  |  2003-06-15  |  948 b   |  35 lines

  1. // HostHelper.h: interface for the CHostHelper class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_HOSTHELPER_H__466DEC2B_6413_4C18_8B8B_40750020E760__INCLUDED_)
  6. #define AFX_HOSTHELPER_H__466DEC2B_6413_4C18_8B8B_40750020E760__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #include <atlbase.h>
  13.  
  14. class CHostHelper  
  15. {
  16. public:
  17.     CHostHelper(IDispatch *a_pDispatch);
  18.     virtual ~CHostHelper();
  19.  
  20. public:
  21.     BOOL    NotifyError(LPCTSTR a_pszError);
  22.     BOOL    NotifyMessage(LPCTSTR a_pszMessage);
  23.     BOOL    NotifyProgress(UINT a_nCurrentStep);
  24.     BOOL    NotifyProgressTotal(UINT a_nTotalStep);
  25.     BOOL    GetProperty(LPCTSTR a_pszName, BSTR *a_pbstrValue);
  26.  
  27. protected:
  28.     BOOL    CheckGetDispatchId(LPCTSTR a_pszMethodName, DISPID &ar_nDispId);
  29.  
  30. private:
  31.     CComDispatchDriver m_psDispatch;
  32. };
  33.  
  34. #endif // !defined(AFX_HOSTHELPER_H__466DEC2B_6413_4C18_8B8B_40750020E760__INCLUDED_)
  35.